package com.wlsk.license.dto.request.feign;

import com.wlsk.license.dto.BaseReqDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * @description: 获取OSS文件地址请求参数
 * @author: liuzhangbin
 * @date: 2025/2/21
 */
@Getter
@Setter
public class GetOssObjectUrlReqDto extends BaseReqDto {

    @ApiModelProperty("文件ID")
    @NotNull(message = "文件ID不能为空")
    private Long fileId;

    public GetOssObjectUrlReqDto(Long fileId) {
        this.fileId = fileId;
    }

    public GetOssObjectUrlReqDto() {
    }
}
